package com.cj.mobile.iabp.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;
import com.cj.mobile.iabp.di.module.HomeNewModule;
import com.cj.mobile.iabp.mvp.contract.HomeNewContract;

import com.jess.arms.di.scope.ActivityScope;
import com.cj.mobile.iabp.mvp.ui.fragment.HomeNewFragment;

/**
 * ================================================
 * Description:
 * <p>
 * Created by MVPArmsTemplate on 2023/11/15 17:19
 * ================================================
 */
@ActivityScope
@Component(modules = HomeNewModule.class, dependencies = AppComponent.class)
public interface HomeNewComponent {
    void inject(HomeNewFragment fragment);

    @Component.Builder
    interface Builder {
        @BindsInstance
        HomeNewComponent.Builder view(HomeNewContract.View view);

        HomeNewComponent.Builder appComponent(AppComponent appComponent);

        HomeNewComponent build();
    }
}